
class Game(object):

    top_score = 0
    instance_count = 0

    @staticmethod
    def show_help():
        print("[help info] go to house")

    @classmethod
    def show_score(cls):
        print("[the top score] is: %d" % cls.top_score)

    def __init__(self, name):
        super().__init__()
        self.play_name = name
        Game.instance_count += 1

    def  __str__(self):
        return "[This is my own __str__ ]"
        

    def start_game(self):
        print("[%s's game has started!]" % self.play_name)
        print("[The instance count is: %d]" % Game.instance_count)
        Game.top_score = 999


Game.show_help()
Game.show_score()

gamer = Game("xiao3")
gamer.start_game()  

print(gamer)

gamer02 = Game("xiao2")
gamer.start_game()

Game.show_score()